<?php
class ImportForm extends CFormModel
{
	public $file;

	/**
	 * Declares the validation rules.
	 */
	public function rules()
	{
		return array(
			array('file', 'file', 
				'allowEmpty' => false, 
				// 'types'=> 'gz, zip',
				// 'maxSize' => 1024,
				// 'wrongType'=>'Only jpg, jpeg, gif, png are allowed.',
				// 'tooLarge' => 'The file was larger than 1024 KB. Please upload a smaller file.',	
			),
		);
	}

	/**
	 * Declares customized attribute labels.
	 * If not declared here, an attribute would have a label that is
	 * the same as its name with the first letter in upper case.
	 */
	public function attributeLabels()
	{
		return array(
			
		);
	}
}